package zyh.struts2.beans;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

import javax.xml.crypto.Data;

public class User {
    private String username;
    private String password;
    private String name;
    private Integer age;
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
    public User(){
    }
    public String toString(){
        return "User{"+
                "username='"+username+'\''+
                ",password='"+password+'\''+
                ",name='"+name+'\''+
                ",age='"+age;

    }
}
